/*
-----------------------------------------------------------------------------
Filename:    TutorialApplication.h
-----------------------------------------------------------------------------

This source file is part of the
   ___                 __    __ _ _    _ 
  /___\__ _ _ __ ___  / / /\ \ (_) | _(_)
 //  // _` | '__/ _ \ \ \/  \/ / | |/ / |
/ \_// (_| | | |  __/  \  /\  /| |   <| |
\___/ \__, |_|  \___|   \/  \/ |_|_|\_\_|
      |___/                              
      Tutorial Framework
      http://www.ogre3d.org/tikiwiki/
-----------------------------------------------------------------------------
*/
#ifndef __TutorialApplication_h_
#define __TutorialApplication_h_

#include "BaseApplication.h"
#include "Stage_1.h"
#include "ogre_canvas.h"
#include "Ogre.h"



class TutorialApplication : public BaseApplication
{
public:

	Ogre::Real timeSinceLast;
	Ogre::Real timeOld;
	Ogre::Real timeCurrent;
	Ogre::Timer* m_pTimer;

    TutorialApplication(void);
    virtual ~TutorialApplication(void);
	virtual void update();

protected:
    virtual void createScene(void);
	virtual bool mousePressed( const OIS::MouseEvent &arg, OIS::MouseButtonID id );
	virtual bool mouseMoved( const OIS::MouseEvent &arg );
	virtual bool mouseReleased( const OIS::MouseEvent &arg, OIS::MouseButtonID id );


	Scene * m_pCurrentScene;
	Ogre::SceneNode *m_pMouseNode;
};

#endif // #ifndef __TutorialApplication_h_
